//
//  RBGServiceChargment.h
//  BateauGenerique
//
//  Created by Kevin De Jesus Ferreira on 29/05/2014.
//  Copyright (c) 2014 Kevin De Jesus Ferreira. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "RBGConfigurationClientService.h"

@protocol RBGServiceChargementDelegate

@required

- (void) receiveDonneesChargement:(id)donnees
                         andType :(int)typeDonnees;

- (void) receiveErreurChargement:(int)statut;


@end


@interface RBGServiceChargement : NSObject

@property (nonatomic,strong) id delegate;
@property (strong,nonatomic) RBGConfigurationClientService * service;

-(void) envoieJeton:(NSString*)jeton;
-(void) getParametreClient;
-(void) chargerEtats;
-(void) chargerLieux;
-(void) chargerMarquesDistribuees;
-(void) chargerDepartements;
-(void) chargerEnergies;
-(void) chargerServices;
-(void) chargerRegions;
-(void) chargerTypesAnnonces;
-(void) chargerTypesCategories:(BOOL)wa;
-(void) chargerMarquesBateauType:(NSString *)idType
                     andIdClient:(NSString *)idClient
                           andWa:(BOOL)wa;
-(void) chargerMarquesMoteurs:(NSString *)idClient
                        andWA:(BOOL)wa;

-(void) chargerModeles:(NSString *)idMarques
             andIdType:(NSString *)idType
                 andWa:(BOOL)wa
           andIdClient:(NSString *)idClient;
@end
